<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@page import="java.util.Map" %>

<%
	String path = request.getContextPath();//获得上下文的路径,得到web项目
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />  
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<META HTTP-EQUIV="Pragma" CONTENT="no-cache" />  
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache" />  
<META HTTP-EQUIV="Expires" CONTENT="0" />
<base href="<%=basePath%>" />

<title>学生留言建议反馈系统</title>
<link rel="stylesheet" type="text/css" href="lib/multiselect/css/jquery.multiselect.css" />

<link rel="stylesheet" type="text/css" href="lib/treeview/css/tree.css" />

<link rel="stylesheet" type="text/css" href="lib/codemirror/css/codemirror.css" />
<link rel="stylesheet" type="text/css" href="lib/codemirror/css/ambiance.css" />
<link rel="stylesheet" type="text/css" href="lib/codemirror/css/addon/dialog/dialog.css" />

<link rel="stylesheet" type="text/css" href="lib/jquery-ui-1.10.3/themes/base/jquery-ui.css" />

<link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="lib/datatables-bootstrap-plugin/css/dataTables.bootstra.css" rel="stylesheet">

<link rel="stylesheet" type="text/css" href="styles/style.css" />

<link rel="stylesheet" type="text/css" href="lib/typeahead/css/typeahead.js-bootstrap.css" />

<%
	String userName = (String)session.getAttribute("userName");
	String chineseName = (String)session.getAttribute("chineseName");
	String email = (String)session.getAttribute("email");
	String department = (String)session.getAttribute("department");
%>
<script type="text/javascript">
  window.g_bipWebRoot = "<%=path%>";
  window.g_loginUser = {
    loginName: "<%=userName%>",
    displayName: "<%=chineseName%>",
    email: "<%=email%>",
    department: "<%=department%>",
  };
</script>

<script type="text/javascript" src="js/bip.devdebug.js"></script>
<script type="text/javascript" src="lib/js/require-readable.js" data-main="js/bipApp.js"></script>

<script type="text/javascript" src="lib/js/jquery-readable.js"></script>
<script type="text/javascript" src="lib/js/jquery-migrate-readable.js"></script>
<script type="text/javascript" src="lib/bootstrap/js/bootstrap.js"></script>

</head>
<body>
<input id="baseURL" name="baseURL" type="hidden" value="<%=basePath%>" />

test
</body>
</html>